package manage

import "newbeemallStudyProject/model/common"

type MallIndexConfig struct {
	ConfigId    int             `json:"configId" form:"configId" gorm:"primarykey"`
	ConfigName  string          `json:"configName" form:"configName"`
	ConfigType  int             `json:"configType" form:"configType"`
	GoodsId     int             `json:"goodsId" form:"goodsId"`
	RedirectUrl string          `json:"redirectUrl" form:"redirectUrl"`
	ConfigRank  int             `json:"configRank" form:"configRank"`
	IsDeleted   int             `json:"isDeleted" form:"isDeleted"`
	CreatedTime common.JSONTime `json:"createdTime" form:"createdTime"`
	CreatedUser int             `json:"createdUser" form:"createdUser"`
	UpdatedTime common.JSONTime `json:"updatedTime" form:"updatedTime"`
	UpdatedUser int             `json:"updatedUser" form:"updatedUser"`
}

func (MallIndexConfig) TableName() string {
	return "tb_newbee_mall_index_config"
}
